import { ApiCall } from "tsrpc";
import { ReqLook, ResLook } from "../../../shared/master/entrustTask/PtlLook";
import { player } from "../../../model/fight/body/player";

export default async function (call: ApiCall<ReqLook, ResLook>) {
    call.succ({})
    let user = call.req._player as player;
    let tpl = user.get_entrustTask();
    tpl.look(user)
}